package com.sdruixinggroup.mondayb2b.adapter;

import android.widget.TextView;

import com.sdruixinggroup.mondayb2b.R;
import com.sdruixinggroup.mondayb2b.models.HotSearch;

/**
 * Created by 00029935 on 2017/12/9.
 */

public class HotAdapter extends QuickAdapter<HotSearch.KeywordsBean> {
    @Override
    public int getLayoutID(int viewType) {
        return R.layout.hot_adapter_item;
    }

    @Override
    public void convert(VH holder, HotSearch.KeywordsBean itemData, int position) {
        TextView tvName = holder.getView(R.id.tv_name);
        tvName.setText(itemData.getName());
    }
}
